
#include <cassert>
#include <fstream>
#include <iostream>
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
using namespace std;
using json = nlohmann::json;

int main() {
  ifstream input{"input.json"};
  json j;
  input >> j;
  string file_name = j["grid_file_name"].get<string>();
  double low = j["low"].get<double>();
  double high = j["high"].get<double>();
  std::vector<int> arr = j["array"].get<vector<int>>();

  cout << "grid_file_name = " << file_name << endl;
  cout << "low = " << low << endl;
  cout << "high = " << high << endl;

  for (int i = 0; i < arr.size(); ++i) {
    cout << arr[i] << endl;
  }
  return 0;
}